.header {
    position: fixed;
    z-index: 1000;
}

.logo {
    height: 80rpx;
    margin-left: 36rpx;
}

.home-nav {
    box-sizing: border-box;
    left: 0;
    position: fixed;
    top: 0;
    transition: background 0.2s;
    width: 100%;
    z-index: 10;
}

.home-nav .nav-content {
    align-items: center;
    display: flex;
    height: 100%;
    padding: 0 18rpx;
}

.home-nav .nav-content .title {
    color: #fff;
    font-size: 42rpx;
    font-weight: 700;
    transition: font-size 0.5s, color 0.5s;
}

.home-nav .nav-content .search-btn {
    align-items: center;
    background: #fd5907;
    border-radius: 26rpx;
    color: #ffe7b0;
    display: flex;
    font-size: 26rpx;
    font-weight: 500;
    height: 52rpx;
    justify-content: center;
    line-height: 52rpx;
    margin-left: 20rpx;
    opacity: 0.8;
    width: 134rpx;
}

.home-nav .nav-content .search-btn .search-icon {
    height: 26rpx;
    margin-right: 2rpx;
    width: 26rpx;
}

.home-nav.white .nav-content .title {
    color: #000;
    font-size: 36rpx;
}

.home-nav.white .nav-content .search-btn {
    color: #fff;
    opacity: 1;
}
